SearchAutoComplete

Local subclass for AutoCompleteTextView.

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyle: Int)

Functions

Link copied to clipboard
We override this method so that we can allow a threshold of zero, which ACTV does not.
Link copied to clipboard
We override onCreateInputConnection as a signal to schedule a pending showSoftInput request (if any).
Link copied to clipboard
open fun onKeyPreIme(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onPrivateIMECommand(action: String, data: Bundle): Boolean
Link copied to clipboard
open fun onWindowFocusChanged(hasWindowFocus: Boolean)
We override this method to be sure and show the soft keyboard if appropriate when the TextView has focus.
Link copied to clipboard
We override this method to avoid an extra onItemClick being called on the drop-down's OnItemClickListener by onKeyUp when an item is clicked with the trackball.
Link copied to clipboard
Link copied to clipboard
open fun setThreshold(threshold: Int)